package com.mashibing.servicemap.controller;

import com.mashibing.internalcommon.dto.ResponseResult;
import com.mashibing.servicemap.service.DistrictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @title: DistrictController 地区控制器
 * @Author Z先森
 * @Date: 2022/9/27 10:14
 * @Version 1.0
 */
@RestController
public class DistrictController {
    @Autowired
    private DistrictService districtService;

    @GetMapping("/dic-district")
    public ResponseResult initDicDistrict(@RequestParam String keywords){
        ResponseResult result = districtService.initDicDistrict(keywords);
        return null;
    }
}
